<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app"></div>
    <script src="../vuejs/vue.js"></script>
    <template id="my-app">
        <input type="text" v-model="score">
       <h1 v-if="score>90">优秀</h1>
       <h1 v-else-if="score>60">良好</h1>
       <h1 v-else>不及格</h1>

    </template>
    <script>
        Vue.createApp({
            template:`#my-app`,
            data(){
                return{
                    score:95
                }
            }

        }).mount('#app')
    </script>
</body>
</html>